package com.superm.mappers;

import com.superm.entity.Order;
import com.superm.entity.SaleOrderDetails;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SaleOrderDetailsMapper {
    /**
     * 添加多条详情信息
     * @param orders
     * @return
     */
    Integer addSaleDetails(@Param("orders") List<Order> orders);

    /**
     * 根据订单id查询出来详情信息
     * @param SealOid
     * @return
     */
    List<SaleOrderDetails> allSaleOid(@Param("SealOid") Integer SealOid);
}
